package com.mask.roll.edu.mapper;

import com.mask.roll.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mask.roll.edu.entity.VO.course.CoursePublishVo;
import com.mask.roll.edu.entity.VO.course.CourseWebVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author hx
 * @since 2021-10-23
 */
public interface CourseMapper extends BaseMapper<Course> {


    /**
     * 获取课程发布信息
     * @param courseId
     * @return
     */
    CoursePublishVo getPublishCourseInfo(String courseId);

    /**
     * 获取课程详细信息
     * @param courseId
     * @return
     */
    CourseWebVo getBaseCourseInfo(String courseId);
}
